<notempty name="base_list">
<style type="text/css">
	#member_list{}
	.accordion-toggle{font-size: 14px;color: #333;}
	#member_list .accordion-group{background: #FFF;}
	#member_list_title{color: #444;font-size: 14px;}
	#member_list .item{height: 20px;}
	#member_list .checkbox-all{border-left: 3px solid #ccc; padding-left: 5px;cursor: pointer;margin-left: 5px;}
	#member_list .checkbox-opp{padding-left: 5px;cursor: pointer;}
</style>
<h5 style="margin-bottom:16px;">品类信息</h5>
<div class="accordion" id="accordion2" style="margin:0;">
	<div class="accordion-group">
		<div class="accordion-inner">
			<div class="clearfix demand_list">
				<a class="checkbox-all">全选</a>
				<a class="checkbox-opp">反选</a>
				
				<div class="checkbox-group" style="margin:10px;">
					<volist name="base_list" id="voo">
					<label class="item checkbox inline" style="margin-left: 0px;">
						<input class="chk" type="checkbox" name="conf_category_id[]" value="{$voo.conf_category_id}" > {$voo.conf_category}
					</label>
					</volist>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
 	// 全选
 	$(".checkbox-all").bind("click", function() {
 		$(this).nextAll("div.checkbox-group").find("input[type=checkbox]").prop("checked", true)
 	});
 	// 反选
 	$(".checkbox-opp").bind("click", function() {
 		$(this).nextAll("div.checkbox-group").find("input[type=checkbox]").each(function() {
 			var checked = $(this).prop("checked");
 			$(this).prop("checked", !checked);
 		});
 	});
</script>

</notempty>
